package light;

import javax.media.j3d.SpotLight;
import javax.media.j3d.BoundingSphere;
import javax.vecmath.Color3f;
import javax.vecmath.Point3d;
import javax.vecmath.Vector3f;

public class SpLight extends SpotLight{
	public SpLight(){
		this.setEnable(true);
	    this.setDirection(new Vector3f(1.0f, 1.0f, -3.0f));
	    this.setColor(new Color3f(0.1f,0.1f,0.1f));
	    this.setPosition(5.0f, 5.0f, 20.0f);
	    this.setInfluencingBounds(new BoundingSphere(new Point3d(0.0f, 0.0f, 0.0f), 50.0f));
	}
}
